﻿#ifndef __DMA_H__
#define __DMA_H__


#include "gd32f10x.h"


void Dma0ConfigForAdc0(uint16_t *adcValue, uint8_t length);
void Dma0ConfigForAdcDump(uint16_t *src, uint16_t *des, uint8_t length);
void Dma0ConfigForTimer0(uint16_t *freqBuffer, uint16_t *dutyBuffer);


#endif // !__DMA_H__

